-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix wrong type on hooktask to convert typ from char(16) to varchar(16) #14148
Conversation
24d7273
to
81dd755
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Please revert the other TrimSpace change that happened in Possible fix the webhook API creation #13960
- Please ensure migration trims existing whitespaces or it won't fix existing webhooks
eccafbd
to
97d1a0a
Compare
97d1a0a
to
36caf76
Compare
@lunny migration fails on MSSQL:
|
Yes, I think this should be a bug of xorm for mssql |
just use recreatetable ... |
That could be expensive on servers with many webhook calls as I think webhook history table tends to be largest one of all 😅 |
depends on https://gitea.com/xorm/xorm/pulls/1849 |
blocked by #14246 |
Looks like MSSQL needs separate session for alter table also |
Implying that this |
34da08e
to
7fd394d
Compare
Codecov Report
@@ Coverage Diff @@
## master #14148 +/- ##
==========================================
- Coverage 41.86% 41.84% -0.03%
==========================================
Files 742 743 +1
Lines 79324 79384 +60
==========================================
+ Hits 33209 33218 +9
- Misses 40650 40704 +54
+ Partials 5465 5462 -3
Continue to review full report at Codecov.
|
* master: (252 commits) Issues overview should not show issues from archived repos (go-gitea#13220) Display SVG files as images instead of text (go-gitea#14101) [skip ci] Updated translations via Crowdin Update docs to clarify issues raised in go-gitea#14272 (go-gitea#14318) [skip ci] Updated translations via Crowdin [Refactor] Passwort Hash/Set (go-gitea#14282) Add option to change username to the admin panel (go-gitea#14229) fix mailIssueCommentBatch for pull request (go-gitea#14252) Remove self from MAINTAINERS (go-gitea#14286) Do not reload page after adding comments in Pull Request reviews (go-gitea#13877) Fix session bug when introduce chi (go-gitea#14287) [skip ci] Updated translations via Crowdin Add secure/httpOnly attributes to the lang cookie (go-gitea#9690) (go-gitea#14279) Some code improvements (go-gitea#14266) [skip ci] Updated translations via Crowdin Fix wrong type on hooktask to convert typ from char(16) to varchar(16) (go-gitea#14148) Upgrade XORM links in documentation. (go-gitea#14265) Check permission for the appropriate unit type (go-gitea#14261) Add compliance check for windows to ensure cross platform build (go-gitea#14260) [skip ci] Updated translations via Crowdin ...
Fix #14010